
/**
 * @author Jorge Hernandez
 */
class org.molamil.acto.params.ParamContext {
	
	
	// Properties
	
	private var _name:String;
	private var _isRequired:Boolean;	private var _validators:Array;	private var _props:Object;
	
	
	// Constructor
	
	public function ParamContext() {
		_isRequired = false;		_validators = new Array();
		_props = new Object();
	}
	
	
	// Functions
	
	public function toString():String {
		var s:String = "org.molamil.acto.params.ParamContext" +
					   "\n\t name = " + _name +
					   "\n\t isRequired = " + _isRequired +
					   "\n\t validators = " + _validators +
					   "\n\t props = " + _props;
		return s;
	}
	
	
	// Getter/Setter
	
	public function get name():String {
		return _name;
	}
	
	public function set name(name:String):Void {
		_name= name;
	}
	
	public function get isRequired():Boolean {
		return _isRequired;
	}
	
	public function set isRequired(isRequired:Boolean):Void {
		_isRequired = isRequired;
	}
	
	public function get validators():Array {
		return _validators;
	}
	
	public function set validators(validators:Array):Void {
		_validators = validators;
	}
	
	public function get props():Object {
		return _props;
	}
	
	public function set props(props:Object):Void {
		_props = props;
	}
	
	
}
